package com.mall.client.mall;

import java.util.List;

import com.mall.pojo.MallMarketing;
import com.mall.pojo.MallMarketingExample;
import com.mall.query.MallMarketingQuery;
import com.mall.query.Page;

public interface MallMarketingService {

	List<MallMarketing> getMallMarketingListBy(MallMarketingExample example);

	List<MallMarketing> getMallMarketingListByMallMarketingQuery(MallMarketingQuery mallMarketingQuery, Page page);

	/**
	 * 插入优惠信息
	 * 
	 * @param mallMarketing
	 * @return
	 */
	int insertMallMarketing(MallMarketing mallMarketing);

	/**
	 * 更新优惠信息
	 * 
	 * @param mallMarketing
	 * @return
	 */
	int updateMallMarketing(MallMarketing mallMarketing);

}
